package com.xbongbong.pro.statistic.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.domain.entity.ChartCategoryTextEntity;
import com.xbongbong.pro.domain.entity.ChartEntity;
import com.xbongbong.pro.domain.entity.ext.ChartEntityEtx;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 公共查询条件保存入参
 * @author zhouwq
 * @date 2020/8/24 9:59
 */

@Getter
@Setter
@ToString
public class ChartSavePositionDTO extends BaseDTO {

    private static final long serialVersionUID = -8528401521743703867L;

    @NotNull(message = "chart实体不可为空")
    private List<ChartEntityEtx> chartList;

    private Long categoryId;
    /**
     * 文本组件
     */
    private List<ChartCategoryTextEntity> textList;
}
